// pages/components/tooltip/index.js
Component({
  properties: {
    title: {
      type: String,
      default: ''
    },
    content: {
      type: String,
      default: ''
    },
    actionText: {
      type: String,
      default: '确定'
    }
  },
  data: {

  },

  methods: {
    handleSure() {
      this.triggerEvent('Ok')
    },
    handleCancel() {
      this.triggerEvent('Cancel')
    }
  }
})